[body]
<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;sensor=true&amp;key=ABQIAAAA8dADCAdhOl29nR-e3CW-OhRESbwMWwveIi60F3uz5tEBc7zpnRRsA813uR83H77Zjw-FazLniCAmIQ" type="text/javascript"></script>
<script src="/js/getpoint.js" type="text/javascript"></script>
{path: tpl=_sys/path.htm}
<div class="cms_form">
	<form>
		<div class="error">{error: type=user}</div>

		<div class="label">{msg:frm_sh_city}</div>
		<div class="field"><input type="text" name="sh_city" id="sh_city" onblur="if(!moved)showAddress(this.value);"></div>
		<br class="sep">

		<div class="label">{msg:frm_sh_x}</div>
		<div class="field"><input disabled="disabled" type="text" name="sh_x" id="sh_x"></div>
		<br class="sep">

		<div class="label">{msg:frm_sh_y}</div>
		<div class="field"><input disabled="disabled" type="text" name="sh_y" id="sh_y"></div>
		<br class="sep">

		{new}
        <br class="sep">
        <div id="p228_map" style="overflow:hidden;width: 90%; height: 550px; position: relative; margin: 0 auto;"></div>
        <script type="text/javascript">
            p228_initialize();
        </script>
	</form>
	<br class="sep">
</div>

[new]
		<div class="label">&nbsp;</div>
		<div class="field">
			<input  type="submit" class="submit" value="{msg:save}">
		</div>

[not_new]
		<div class="label">{msg:frm_msg}</div>
		<div class="field"><input type="text" name="msg" id="msg"></div>
		<br class="sep">

		<div class="label"></div>
		<div class="field" style="height:100px;"><br><br>
			<input type="image" class="radio" src="/img/cms/buttons/save.gif">
			<input type="image" class="radio" src="/img/cms/buttons/delete.gif" onClick="if(confirm('{msg:btn_confirm}'))document.location='{link}/delete';return false;">
		</div>

[success]
<div>
	<label>{msg:frm_res_saved}</label>
	<script type="text/javascript">document.location.assign( '{link: link=admin/cities/{sh_id}}' );
</script>
</div>

[onDelete]
<div>
	<label>{msg:frm_res_deleted}</label>
	<script type="text/javascript">document.location.assign( '{link: link=admin/cities/}' );
	</script>
</div>
